#include "BaseNotification.h"

namespace cm_base
{
    BaseNotification::BaseNotification():m_type(0), m_data(NULL)
    {

    }

    BaseNotification::BaseNotification(UInt32 type): m_type(type), m_data(NULL)
    {

    }

    BaseNotification::~BaseNotification()
    {

    }

    void BaseNotification::setType(UInt32 type)
    {
        m_type = type;
    }

    UInt32 BaseNotification::getType()
    {
        return m_type;
    }

    void BaseNotification::setData(void* data)
    {
        m_data = data;
    }

    void* BaseNotification::getData()
    {
        return m_data;
    }

}